package com.zmn.oms.common.dio.normal.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName CheckOrderServItemTypeDIO
 * @description:
 * @author: wangyanci
 * @create: 2021-12-29 16:21
 * @Version 1.0
 **/
@Data
@ToString
@ApiModel("检查工单服务类型")
public class CheckOrderServItemTypeDIO implements Serializable {

    /**
     * 订单Id
     */
    @ApiModelProperty(value = "订单Id", required = true)
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 工单Id
     */
    @ApiModelProperty(value = "工单Id", required = true)
    @NotNull(message = "工单ID不能为空")
    private Long workId;

    /**
     * 服务项类型
     */
    @ApiModelProperty(value = "服务项类型", required = true)
    @NotNull(message = "服务项类型不能为空")
    private Integer servItemType;

}